# 数据库

HOSTNAME = '47.99.87.197'
USERNAME = 'framework'
PASSWORD = 'ws2nCkWcWNSc74Tx'

DATABASE = 'framework'
PORT = '3306'
DB_URI = 'mysql+pymysql://{}:{}@{}:{}/{}?charset=utf8'.format(USERNAME, PASSWORD, HOSTNAME, PORT, DATABASE)

JSON_AS_ASCII = False
SQLALCHEMY_TRACK_MODIFICATIONS = True
SQLALCHEMY_DATABASE_URI = DB_URI

SECRET_KEY = 'jbwk531531bje342vkaj4hsgxyq3gfgejk3afa33e5'

# MAX_CONTENT_LENGTH = 16 * 1024 * 1024

MAIL_SERVER = "smtp.126.com"
MAIL_USERNAME = "bitterteaer@126.com"
MAIL_PASSWORD = 'OBYTWHEEBSXWIFRB'
MAIL_DEFAULT_SENDER = ("bitterteaer", MAIL_USERNAME)